-- card: 2873 from stack: in -- bmap block id: 9019 -- flags: 2000 -- background id: 2645 -- name: -- part 3 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=252 top=88 right=112 bottom=508 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button ----- HyperTalk script ----- on mouseUp go cd count end mouseUp -- part 4 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=252 top=112 right=136 bottom=508 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button ----- HyperTalk script ----- on mouseUp go cd findnth end mouseUp -- part 5 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=252 top=136 right=160 bottom=508 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button ----- HyperTalk script ----- on mouseUp go cd trim end mouseUp -- part 6 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=252 top=196 right=220 bottom=508 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button ----- HyperTalk script ----- on mouseUp go cd pad end mouseUp -- part 7 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=252 top=160 right=172 bottom=508 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button ----- HyperTalk script ----- on mouseUp go cd mid end mouseUp -- part 8 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=252 top=172 right=184 bottom=508 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button ----- HyperTalk script ----- on mouseUp go cd right end mouseUp -- part 9 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=252 top=184 right=196 bottom=508 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button ----- HyperTalk script ----- on mouseUp go cd left end mouseUp -- part 10 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=252 top=256 right=268 bottom=508 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button ----- HyperTalk script ----- on mouseUp go cd ucase end mouseUp -- part 11 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=252 top=268 right=280 bottom=508 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button ----- HyperTalk script ----- on mouseUp go cd lcase end mouseUp -- part 12 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=252 top=280 right=292 bottom=508 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button ----- HyperTalk script ----- on mouseUp go cd changeCase end mouseUp -- part 13 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=252 top=292 right=304 bottom=508 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button ----- HyperTalk script ----- on mouseUp go cd capWords end mouseUp -- part 14 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=252 top=304 right=316 bottom=508 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button ----- HyperTalk script ----- on mouseUp go cd capSentences end mouseUp -- part 15 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=252 top=220 right=256 bottom=508 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: New Button ----- HyperTalk script ----- on mouseUp go cd format end mouseUp -- part 18 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=480 top=0 right=32 bottom=512 -- title width / last selected line: 0 -- icon id / first selected line: 21228 / 21228 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Home ----- HyperTalk script ----- on mouseUp visual effect iris close if the optionkey is down then domenu "Quit Hypercard" else go home end if end mouseUp -- part 19 (button) -- low flags: 00 -- high flags: 2000 -- rect: left=445 top=4 right=36 bottom=477 -- title width / last selected line: 0 -- icon id / first selected line: 14767 / 14767 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: info ----- HyperTalk script ----- on mouseUp show cd pict show cd btn hidecdpc end mouseUp -- part 20 (button) -- low flags: 80 -- high flags: 0000 -- rect: left=0 top=0 right=342 bottom=512 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: hideCDPc ----- HyperTalk script ----- on mouseUp hide cd pict hide target end mouseUp -- part contents for background part 1 ----- text ----- EditString is a HyperCard external function that will perform a set of very useful text & number manipulations. For convenience EditString is packaged as only one XFCN but is in fact a suitcase full of independent functions that are invoked by sending the appropriate sub-function name in the parameter list. As a result EditString can be added to and modified easily. -- part contents for background part 2 ----- text ----- 1 Counting the occurances of a specific character within text. 2 Finding the position of the Nth occurance of a specific character. 3 Trim spaces from the front and/or the end of text. 4 Performing the BASIC MID$ 5 Performing the BASIC RIGHT$ 6 Performing the BASIC LEFT$ 7 Padding text with a specified character (left or right). 8 Formatting a number as decimal or scientific within a field width. 9 Changing text to uppercase. 10 Changing text to lowercase. 11 Swapping the case of text. 12 Capitalizing words in text. 13 Capitalizing sentences within text.